package perso.marcr.util;

import java.text.DateFormat;
import java.text.SimpleDateFormat;

public class Date {
	
	public static String getNow()
	{
		java.util.Date date = new java.util.Date();
		return format(date);
	}
	
	public static String format(java.util.Date date)
	{
		DateFormat dateFormat = new SimpleDateFormat("yyyy.MM.dd_HH.mm.ss");
		return dateFormat.format(date);
	}
}
